﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Common
{
   public class FormCode
    {
    /// <summary>
    /// 流量充值订单号
    /// </summary>
    /// <returns>规则：日期+9位流水账号</returns>
       public static string RechargeData() 
       {
           string result=string.Empty;
           result= DateTime.Now.ToString("yyyyMMddHHmmss");
           Random r = new Random();
           int rndnum = (int)r.Next(0,999999999);
           result+=rndnum.ToString();
           return result;
       }
    }
}
